package com.lm.dao;

import java.util.List;

import com.lm.model.Supporter;

public interface SupporterDAO {
	public boolean isExistedUser(String user, String password) throws Throwable ;

	public Supporter getUser(String userName) throws Throwable ;

	public String getUserNameByUserID(int userID) throws Throwable ;

	public Supporter getSupporterListByID(int userID) throws Throwable ;

	public List getAllSupporter() throws Throwable ;

	public void addSupporter(Supporter supporter) throws Throwable ;

	public Supporter getSupporterBySupporterID(int supporterID)
			throws Throwable ;

	public void editSupporterBySupportID(Supporter supporter, String supporterID)
			throws Throwable ;

	public void editSupporterPasswordBySupportID(Supporter supporter,
			String supporterID) throws Throwable ;

	public void editPasswordOfAdmin(String password) throws Throwable ;

	public void deleteSupporterBySupportID(int supporterID) throws Throwable;


}
